From: Florian Müllner Date: Wed, 1 Apr 2020 12:48:10 +0000 (+0200) Subject: screenShield: Switch lightboxes off before unlock transition X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~684^2^2~545 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=fb6ead2881525676d49a331c726200a5d78cb65c;p=gnome-shell.git screenShield: Switch lightboxes off before unlock transition There is no point in animating a transition with fullscreen black rectangles stacked on top, so switch them off before rather than after the transition. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1158 --- diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js index de43d3da1..1107a5ce9 100644 --- a/js/ui/screenShield.js +++ b/js/ui/screenShield.js @@ -519,6 +519,9 @@ var ScreenShield = class { this._isModal = false; } + this._longLightbox.lightOff(); + this._shortLightbox.lightOff(); + this._lockDialogGroup.ease({ translation_y: -global.screen_height, duration: Overview.ANIMATION_TIME, @@ -533,8 +536,6 @@ var ScreenShield = class { this._dialog = null; } - this._longLightbox.lightOff(); - this._shortLightbox.lightOff(); this.actor.hide(); if (this._becameActiveId != 0) {